package com.java.cloud.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;


/**
 * 自助售卖产品销售区域架构表
 * 
 * @author greatesky
 * @email greatesky@hotmail.com
 * @date 2019-11-06 15:01:34
 */
@ApiModel(value = "自助售卖产品销售区域架构表")
@Table(name = "sys_sellarea")
@Data
@Accessors(chain = true)
public class SysSellarea implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	@Id
	@ApiModelProperty(value = "id")
    private String id;
	
	/**
	 * 销售区域编码
	 */
    @Column(name = "sellarea_code")
	@ApiModelProperty(value = "销售区域编码")
    private String sellareaCode;
	
	/**
	 * 销售区域名称
	 */
    @Column(name = "sellarea_name")
	@ApiModelProperty(value = "销售区域名称")
    private String sellareaName;
	
	/**
	 * 上级ID
	 */
    @Column(name = "parent_id")
	@ApiModelProperty(value = "上级ID")
    private String parentId;
	
	/**
	 * 地址
	 */
    @Column(name = "path")
	@ApiModelProperty(value = "地址")
    private String path;
	
	/**
	 * 等级
	 */
    @Column(name = "path_level")
	@ApiModelProperty(value = "等级")
    private String pathLevel;
	
	/**
	 * 排序
	 */
    @Column(name = "seq")
	@ApiModelProperty(value = "排序")
    private BigDecimal seq;
	
	/**
	 * 描述
	 */
    @Column(name = "remark")
	@ApiModelProperty(value = "描述")
    private String remark;
	
	/**
	 * 创建时间
	 */
    @Column(name = "crt_time")
	@ApiModelProperty(value = "创建时间")
    private Date crtTime;
	
	/**
	 * 创建人id
	 */
    @Column(name = "crt_user")
	@ApiModelProperty(value = "创建人id")
    private String crtUser;
	
	/**
	 * 创建人名称
	 */
    @Column(name = "crt_name")
	@ApiModelProperty(value = "创建人名称")
    private String crtName;
	
	/**
	 * 创建人IP
	 */
    @Column(name = "crt_host")
	@ApiModelProperty(value = "创建人IP")
    private String crtHost;
	
	/**
	 * 修改时间
	 */
    @Column(name = "upd_time")
	@ApiModelProperty(value = "修改时间")
    private Date updTime;
	
	/**
	 * 修改人id
	 */
    @Column(name = "upd_user")
	@ApiModelProperty(value = "修改人id")
    private String updUser;
	
	/**
	 * 修改人名称
	 */
    @Column(name = "upd_name")
	@ApiModelProperty(value = "修改人名称")
    private String updName;
	
	/**
	 * 修改人IP
	 */
    @Column(name = "upd_host")
	@ApiModelProperty(value = "修改人IP")
    private String updHost;
	
	/**
	 * 删除标识:0=否，1 = 是
	 */
    @Column(name = "del_flag")
	@ApiModelProperty(value = "删除标识:0=否，1 = 是")
    private Integer delFlag;
	
}
